//=============================================================================
// AvatarTemplateValueList.as
// 
// 
// AUTHOR:            Jay Liang
// 
//                  Copyright (c) 2011 Break Media
//                              All Rights Reserved.
//                          
//=============================================================================
package values.avatar
{
import flash.utils.Dictionary;

public class AvatarTemplateValueList
{	
	private static var list:Dictionary; /* AvatarTemplateValue */
	
	public function get avatars():Dictionary
	{
		return list;
	}
	
	[Data(type="mapping", 
			   mapping="avatar", 
			   ref="$@classRef",
			   way="one_to_more",
			   object="flash.utils.Dictionary",
	           key="@key")]
	public function set avatars(value:Dictionary):void
	{
		list = value;
	}
	
	public static function get avatarList():Dictionary
	{
		return list;
	}
	
	public static function getByKey(key:String):AvatarTemplateValue
	{
		return list[key];
	}
	
	private static var _maxMP:int;

	public static function get maxMP():int
	{
		return _maxMP;
	}
	
	public function get maxMP():int
	{
		return _maxMP;
	}
	
	[Data(type="field" , mapping="setting.max_mp")]
	public function set maxMP(value:int):void
	{
		_maxMP = value;
	}
	
	private static var _hitMp:int;

	public static function get hitMp():int
	{
		return _hitMp;
	}
	
	public function get hitMp():int
	{
		return _hitMp;
	}
	
	[Data(type="field" , mapping="setting.hit_mp")]
	public function set hitMp(value:int):void
	{
		_hitMp = value;
	}
	
	private static var _noAttackMp:int;

	public static function get noAttackMp():int
	{
		return _noAttackMp;
	}
	
	[Data(type="field" , mapping="setting.no_attack_mp")]
	public function set noAttackMp(value:int):void
	{
		_noAttackMp = value;
	}
	
	public function get noAttackMp():int
	{
		return _noAttackMp;
	}
	
	private static var _critMp:int;

	public static function get critMp():int
	{
		return _critMp;
	}
	
	public function get critMp():int
	{
		return _critMp;
	}
	
	[Data(type="field" , mapping="setting.crit_mp")]
	public function set critMp(value:int):void
	{
		_critMp = value;
	}
	
	private static var _beBlockedMp:int;

	public static function get beBlockedMp():int
	{
		return _beBlockedMp;
	}
	
	public function get beBlockedMp():int
	{
		return _beBlockedMp;
	}

	[Data(type="field" , mapping="setting.be_blocked_mp")]
	public function set beBlockedMp(value:int):void
	{
		_beBlockedMp = value;
	}
	
	private static var _blockMp:int;

	public static function get blockMp():int
	{
		return _blockMp;
	}
	
	public function get blockMp():int
	{
		return _blockMp;
	}
	
	[Data(type="field" , mapping="setting.block_mp")]
	public static function set blockMp(value:int):void
	{
		_blockMp = value;
	}
	
	private static var _dodgeMp:int;

	public static function get dodgeMp():int
	{
		return _dodgeMp;
	}
	
	public function get dodgeMp():int
	{
		return _dodgeMp;
	}
	
	[Data(type="field" , mapping="setting.dodge_mp")]
	public function set dodgeMp(value:int):void
	{
		_dodgeMp = value;
	}

}
}




